@import 'reset.scss';
// @import 'c-page.scss';

#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: #efeff4;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
}

// 页面蒙版
.t-mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 300;
}

// 1rem = fontSize px
// 1px = (1 / fontSize)rem
$fontSize: 37.5;
@function px2rem($px) {
    @return ($px / $fontSize)+rem;
}

@mixin center() {
    display: flex;
    justify-content: center;
    align-items: center;
}